package cn.elwy.rcp.demo.handler;

import org.eclipse.e4.core.di.annotations.Execute;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Shell;

import cn.elwy.rcp.demo.dialog.ExpandDialog;

public class ExpandDialogHandler {

  @Execute
  public Object execute(Shell shell) {
    ExpandDialog dialog = new ExpandDialog(shell, SWT.TIME | SWT.RESIZE);
    return dialog.open();
  }

}
